[INFO] cloning repository https://github.com/infinityb/imageboard
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/infinityb/imageboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Fimageboard", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Fimageboard'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ad8efa2954e6b2b2f89ee2a299c2cab86672a47e
[INFO] checking infinityb/imageboard against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Fimageboard" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/infinityb/imageboard on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/infinityb/imageboard
[INFO] finished tweaking git repo https://github.com/infinityb/imageboard
[INFO] tweaked toml for git repo https://github.com/infinityb/imageboard written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/infinityb/imageboard already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/iron/iron.git`
[INFO] [stderr]     Updating git repository `https://github.com/iron/mount.git`
[INFO] [stderr] warning: two git dependencies found for `https://github.com/iron/iron` where one uses `branch = "master"` and the other doesn't; this will break in a future version of Cargo, so please ensure the dependency forms are consistent
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] warning: two git dependencies found for `https://github.com/iron/iron` where one uses `branch = "master"` and the other doesn't; this will break in a future version of Cargo, so please ensure the dependency forms are consistent
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 633f5913a66c76c4702211346b21494ee458f356487623aa7048d20fffaafd78
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "633f5913a66c76c4702211346b21494ee458f356487623aa7048d20fffaafd78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "633f5913a66c76c4702211346b21494ee458f356487623aa7048d20fffaafd78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "633f5913a66c76c4702211346b21494ee458f356487623aa7048d20fffaafd78", kill_on_drop: false }`
[INFO] [stdout] 633f5913a66c76c4702211346b21494ee458f356487623aa7048d20fffaafd78
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] de9b64163c2fa71d25af076e9e2d1046b41496c9e141898e3f5c2293ca716c50
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "de9b64163c2fa71d25af076e9e2d1046b41496c9e141898e3f5c2293ca716c50", kill_on_drop: false }`
[INFO] [stderr] warning: two git dependencies found for `https://github.com/iron/iron` where one uses `branch = "master"` and the other doesn't; this will break in a future version of Cargo, so please ensure the dependency forms are consistent
[INFO] [stderr] warning: two git dependencies found for `https://github.com/iron/iron` where one uses `branch = "master"` and the other doesn't; this will break in a future version of Cargo, so please ensure the dependency forms are consistent
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking futures v0.1.29
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking either v1.6.0
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]     Checking hashbrown v0.9.0
[INFO] [stderr]     Checking tinyvec v0.3.4
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking sequence_trie v0.3.6
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling hyper v0.12.35
[INFO] [stderr]     Checking unicode-normalization v0.1.13
[INFO] [stderr]     Checking smallvec v0.6.13
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking net2 v0.2.35
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking futures-cpupool v0.1.8
[INFO] [stderr]     Checking want v0.2.0
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking http v0.1.21
[INFO] [stderr]     Checking string v0.2.1
[INFO] [stderr]     Checking tokio-buf v0.1.1
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking http-body v0.1.0
[INFO] [stderr]     Checking h2 v0.1.26
[INFO] [stderr]     Checking iron v0.6.0 (https://github.com/iron/iron.git#e38695bf)
[INFO] [stderr]     Checking mount v0.4.0 (https://github.com/iron/mount.git#5dbbc881)
[INFO] [stderr]     Checking imageboard v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `iron::status`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use iron::status;
[INFO] [stdout]    |     ^^^^^^^^^^^^ no `status` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `iron::headers::ContentType`
[INFO] [stdout]   --> src/main.rs:14:27
[INFO] [stdout]    |
[INFO] [stdout] 14 | use iron::headers::{self, ContentType};
[INFO] [stdout]    |                           ^^^^^^^^^^^ no `ContentType` in `headers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/main.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | use iron::headers::{self, ContentType};
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `iron::status`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use iron::status;
[INFO] [stdout]    |     ^^^^^^^^^^^^ no `status` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `iron::headers::ContentType`
[INFO] [stdout]   --> src/main.rs:14:27
[INFO] [stdout]    |
[INFO] [stdout] 14 | use iron::headers::{self, ContentType};
[INFO] [stdout]    |                           ^^^^^^^^^^^ no `ContentType` in `headers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/main.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | use iron::headers::{self, ContentType};
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `HeaderMap` in the current scope
[INFO] [stdout]   --> src/main.rs:37:22
[INFO] [stdout]    |
[INFO] [stdout] 37 |     response.headers.set(ContentType("text/plain".parse().unwrap()));
[INFO] [stdout]    |                      ^^^ help: there is an associated function with a similar name: `get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `HeaderMap` in the current scope
[INFO] [stdout]    --> src/main.rs:222:26
[INFO] [stdout]     |
[INFO] [stdout] 222 |         response.headers.set(ContentType("application/json".parse().unwrap()));
[INFO] [stdout]     |                          ^^^ help: there is an associated function with a similar name: `get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `HeaderMap` in the current scope
[INFO] [stdout]    --> src/main.rs:237:26
[INFO] [stdout]     |
[INFO] [stdout] 237 |         response.headers.set(ContentType("application/json".parse().unwrap()));
[INFO] [stdout]     |                          ^^^ help: there is an associated function with a similar name: `get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_to_string` found for enum `Option<Body>` in the current scope
[INFO] [stdout]    --> src/main.rs:245:34
[INFO] [stdout]     |
[INFO] [stdout] 245 |         if let Err(_) = req.body.read_to_string(&mut body_buf) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ method not found in `Option<Body>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `HeaderMap` in the current scope
[INFO] [stdout]    --> src/main.rs:265:26
[INFO] [stdout]     |
[INFO] [stdout] 265 |         response.headers.set(ContentType("text/plain".parse().unwrap()));
[INFO] [stdout]     |                          ^^^ help: there is an associated function with a similar name: `get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_to_string` found for enum `Option<Body>` in the current scope
[INFO] [stdout]    --> src/main.rs:273:34
[INFO] [stdout]     |
[INFO] [stdout] 273 |         if let Err(_) = req.body.read_to_string(&mut body_buf) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ method not found in `Option<Body>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `HeaderMap` in the current scope
[INFO] [stdout]    --> src/main.rs:293:26
[INFO] [stdout]     |
[INFO] [stdout] 293 |         response.headers.set(ContentType("text/plain".parse().unwrap()));
[INFO] [stdout]     |                          ^^^ help: there is an associated function with a similar name: `get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `path` on type `iron::Url`
[INFO] [stdout]    --> src/main.rs:304:20
[INFO] [stdout]     |
[INFO] [stdout] 304 |         if req.url.path.len() > 0 {
[INFO] [stdout]     |                    ^^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 304 |         if req.url.path().len() > 0 {
[INFO] [stdout]     |                        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `path` on type `iron::Url`
[INFO] [stdout]    --> src/main.rs:305:33
[INFO] [stdout]     |
[INFO] [stdout] 305 |             thread_id = req.url.path[0].parse().ok().and_then(|id| Some(PostId(id)));
[INFO] [stdout]     |                                 ^^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 305 |             thread_id = req.url.path()[0].parse().ok().and_then(|id| Some(PostId(id)));
[INFO] [stdout]     |                                     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `Get` found for struct `Method` in the current scope
[INFO] [stdout]    --> src/main.rs:309:22
[INFO] [stdout]     |
[INFO] [stdout] 309 |             (Method::Get, Some(thread_id)) => self.handle_get(thread_id, req),
[INFO] [stdout]     |                      ^^^ associated item not found in `Method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `Get` found for struct `Method` in the current scope
[INFO] [stdout]    --> src/main.rs:310:22
[INFO] [stdout]     |
[INFO] [stdout] 310 |             (Method::Get, None) => self.handle_collection_get(req),
[INFO] [stdout]     |                      ^^^ associated item not found in `Method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `Put` found for struct `Method` in the current scope
[INFO] [stdout]    --> src/main.rs:311:22
[INFO] [stdout]     |
[INFO] [stdout] 311 |             (Method::Put, Some(thread_id)) => self.handle_put(thread_id, req),
[INFO] [stdout]     |                      ^^^ associated item not found in `Method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `Put` found for struct `Method` in the current scope
[INFO] [stdout]    --> src/main.rs:312:22
[INFO] [stdout]     |
[INFO] [stdout] 312 |             (Method::Put, None) => self.handle_collection_put(req),
[INFO] [stdout]     |                      ^^^ associated item not found in `Method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `find` found for struct `TypeMap` in the current scope
[INFO] [stdout]    --> src/main.rs:343:57
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let delta = precise_time_ns() - *req.extensions.find::<ResponseTime>().unwrap();
[INFO] [stdout]     |                                                         ^^^^ method not found in `TypeMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `find` found for struct `TypeMap` in the current scope
[INFO] [stdout]    --> src/main.rs:349:57
[INFO] [stdout]     |
[INFO] [stdout] 349 |         let delta = precise_time_ns() - *req.extensions.find::<ResponseTime>().unwrap();
[INFO] [stdout]     |                                                         ^^^^ method not found in `TypeMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope
[INFO] [stdout]    --> src/main.rs:368:45
[INFO] [stdout]     |
[INFO] [stdout] 368 |     Iron::new(chain).http("localhost:3000").unwrap();
[INFO] [stdout]     |                                             ^^^^^^ method not found in `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/main.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{Read, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0615.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `imageboard`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `set` found for struct `HeaderMap` in the current scope
[INFO] [stdout]   --> src/main.rs:37:22
[INFO] [stdout]    |
[INFO] [stdout] 37 |     response.headers.set(ContentType("text/plain".parse().unwrap()));
[INFO] [stdout]    |                      ^^^ help: there is an associated function with a similar name: `get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `HeaderMap` in the current scope
[INFO] [stdout]    --> src/main.rs:222:26
[INFO] [stdout]     |
[INFO] [stdout] 222 |         response.headers.set(ContentType("application/json".parse().unwrap()));
[INFO] [stdout]     |                          ^^^ help: there is an associated function with a similar name: `get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `HeaderMap` in the current scope
[INFO] [stdout]    --> src/main.rs:237:26
[INFO] [stdout]     |
[INFO] [stdout] 237 |         response.headers.set(ContentType("application/json".parse().unwrap()));
[INFO] [stdout]     |                          ^^^ help: there is an associated function with a similar name: `get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_to_string` found for enum `Option<Body>` in the current scope
[INFO] [stdout]    --> src/main.rs:245:34
[INFO] [stdout]     |
[INFO] [stdout] 245 |         if let Err(_) = req.body.read_to_string(&mut body_buf) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ method not found in `Option<Body>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `HeaderMap` in the current scope
[INFO] [stdout]    --> src/main.rs:265:26
[INFO] [stdout]     |
[INFO] [stdout] 265 |         response.headers.set(ContentType("text/plain".parse().unwrap()));
[INFO] [stdout]     |                          ^^^ help: there is an associated function with a similar name: `get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_to_string` found for enum `Option<Body>` in the current scope
[INFO] [stdout]    --> src/main.rs:273:34
[INFO] [stdout]     |
[INFO] [stdout] 273 |         if let Err(_) = req.body.read_to_string(&mut body_buf) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ method not found in `Option<Body>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `HeaderMap` in the current scope
[INFO] [stdout]    --> src/main.rs:293:26
[INFO] [stdout]     |
[INFO] [stdout] 293 |         response.headers.set(ContentType("text/plain".parse().unwrap()));
[INFO] [stdout]     |                          ^^^ help: there is an associated function with a similar name: `get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `path` on type `iron::Url`
[INFO] [stdout]    --> src/main.rs:304:20
[INFO] [stdout]     |
[INFO] [stdout] 304 |         if req.url.path.len() > 0 {
[INFO] [stdout]     |                    ^^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 304 |         if req.url.path().len() > 0 {
[INFO] [stdout]     |                        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `path` on type `iron::Url`
[INFO] [stdout]    --> src/main.rs:305:33
[INFO] [stdout]     |
[INFO] [stdout] 305 |             thread_id = req.url.path[0].parse().ok().and_then(|id| Some(PostId(id)));
[INFO] [stdout]     |                                 ^^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 305 |             thread_id = req.url.path()[0].parse().ok().and_then(|id| Some(PostId(id)));
[INFO] [stdout]     |                                     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `Get` found for struct `Method` in the current scope
[INFO] [stdout]    --> src/main.rs:309:22
[INFO] [stdout]     |
[INFO] [stdout] 309 |             (Method::Get, Some(thread_id)) => self.handle_get(thread_id, req),
[INFO] [stdout]     |                      ^^^ associated item not found in `Method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `Get` found for struct `Method` in the current scope
[INFO] [stdout]    --> src/main.rs:310:22
[INFO] [stdout]     |
[INFO] [stdout] 310 |             (Method::Get, None) => self.handle_collection_get(req),
[INFO] [stdout]     |                      ^^^ associated item not found in `Method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `Put` found for struct `Method` in the current scope
[INFO] [stdout]    --> src/main.rs:311:22
[INFO] [stdout]     |
[INFO] [stdout] 311 |             (Method::Put, Some(thread_id)) => self.handle_put(thread_id, req),
[INFO] [stdout]     |                      ^^^ associated item not found in `Method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `Put` found for struct `Method` in the current scope
[INFO] [stdout]    --> src/main.rs:312:22
[INFO] [stdout]     |
[INFO] [stdout] 312 |             (Method::Put, None) => self.handle_collection_put(req),
[INFO] [stdout]     |                      ^^^ associated item not found in `Method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `find` found for struct `TypeMap` in the current scope
[INFO] [stdout]    --> src/main.rs:343:57
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let delta = precise_time_ns() - *req.extensions.find::<ResponseTime>().unwrap();
[INFO] [stdout]     |                                                         ^^^^ method not found in `TypeMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `find` found for struct `TypeMap` in the current scope
[INFO] [stdout]    --> src/main.rs:349:57
[INFO] [stdout]     |
[INFO] [stdout] 349 |         let delta = precise_time_ns() - *req.extensions.find::<ResponseTime>().unwrap();
[INFO] [stdout]     |                                                         ^^^^ method not found in `TypeMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope
[INFO] [stdout]    --> src/main.rs:368:45
[INFO] [stdout]     |
[INFO] [stdout] 368 |     Iron::new(chain).http("localhost:3000").unwrap();
[INFO] [stdout]     |                                             ^^^^^^ method not found in `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/main.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{Read, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0615.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "de9b64163c2fa71d25af076e9e2d1046b41496c9e141898e3f5c2293ca716c50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de9b64163c2fa71d25af076e9e2d1046b41496c9e141898e3f5c2293ca716c50", kill_on_drop: false }`
[INFO] [stdout] de9b64163c2fa71d25af076e9e2d1046b41496c9e141898e3f5c2293ca716c50
